package com.liam.lotterysystem.service;

/**
 * @Author: LiamLMK
 * @CreateTime: 2024-10-14
 * @Description:
 * @Version: 1.0
 */

public interface VerificationCodeService {
    /**
     * 发送验证码
     * @param phoneNumber
     */
    void sendVerificationCode(String phoneNumber);

    /**
     * 从缓存中获取验证码
     * @param phoneNumber
     */
    String getVerificationCode(String phoneNumber);
}
